<template>
  <div v-if="value==='1'" style="display: inline;padding: 5px">
    <van-tag v-if="value==='1'" type="danger">
      <dict-value v-model="value" dict-key="priority" />
    </van-tag>
  </div>
</template>
<script>
import DictValue from '@/components/dictValue.vue'

export default {
  name: 'PriorityTag',
  components: { DictValue },
  props: {
    value: {
      type: String,
      default: ''
    }
  }
}
</script>
